package com.sl.au.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "VIEW_USECOUNT")
public class UseCountView {
	/**
	 * 代码
	 */
	@Id
	private String cPartCode;
	/**
	 * 占库数
	 */
	@Column(name = "nUseCount")
	private float nUseCount;
	
	/**
	 * 最小库存数
	 */
	@Column(name = "nMinStockNum")
	private float nMinStockNum;
	
	/**
	 * 零件名称
	 */
	@Column(name = "cPartName")
	private String cPartName;
	
	/**
	 * 零件图号
	 */
	@Column(name = "cPartPicNum")
	private String cPartPicNum;
	
	/**
	 * 在途数
	 */
	@Column(name = "nOnWayCount")
	private Double nOnWayCount;
	
	/**
	 * 库存数
	 */
	@Column(name = "nStockCount")
	private float nStockCount;
	
	
	
	/**
	 * 材料
	 */
	@Column(name = "cMaterial")
	private String cMaterial;
	
	/**
	 * 可用库存
	 */
	@Column(name = "nAvailableStock")
	private Double nAvailableStock;
	
	/**
	 * 结构类型
	 */
	@Column(name = "cStructureType")
	private String cStructureType;
	
	/**
	 * 零部件ID
	 */
	@Column(name = "PartsBaseInfoId")
	private float nPartsBaseInfoId;
	
	
	public float getnUseCount() {
		return nUseCount;
	}

	public void setnUseCount(float nUseCount) {
		this.nUseCount = nUseCount;
	}

	public float getnMinStockNum() {
		return nMinStockNum;
	}

	public void setnMinStockNum(float nMinStockNum) {
		this.nMinStockNum = nMinStockNum;
	}

	public String getcPartName() {
		return cPartName;
	}

	public void setcPartName(String cPartName) {
		this.cPartName = cPartName;
	}

	public String getcPartPicNum() {
		return cPartPicNum;
	}

	public void setcPartPicNum(String cPartPicNum) {
		this.cPartPicNum = cPartPicNum;
	}

	public Double getnOnWayCount() {
		return nOnWayCount;
	}

	public void setnOnWayCount(Double nOnWayCount) {
		this.nOnWayCount = nOnWayCount;
	}

	public float getnStockCount() {
		return nStockCount;
	}

	public void setnStockCount(float nStockCount) {
		this.nStockCount = nStockCount;
	}

	public String getcPartCode() {
		return cPartCode;
	}

	public void setcPartCode(String cPartCode) {
		this.cPartCode = cPartCode;
	}

	public String getcMaterial() {
		return cMaterial;
	}

	public void setcMaterial(String cMaterial) {
		this.cMaterial = cMaterial;
	}

	public Double getnAvailableStock() {
		return nAvailableStock;
	}

	public void setnAvailableStock(Double nAvailableStock) {
		this.nAvailableStock = nAvailableStock;
	}

	public String getcStructureType() {
		return cStructureType;
	}

	public void setcStructureType(String cStructureType) {
		this.cStructureType = cStructureType;
	}

	public float getnPartsBaseInfoId() {
		return nPartsBaseInfoId;
	}

	public void setnPartsBaseInfoId(float nPartsBaseInfoId) {
		this.nPartsBaseInfoId = nPartsBaseInfoId;
	}

	
	
}
